declare module A { declare function foo(): number; }